package com.bubblegumproject.ogo.component.injection;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;

/**
 * Mark a Component dependency that should be injected at init time.
 * 
 * @author Azubuko Obele (buko.obele@gmail.com)
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Inject {

    public String name() default "";

    public boolean optional() default false;
}
